import React, { Component } from 'react';
import NavBar from './NavBar'
import NavBar2 from './NavBar2'

class App extends Component {
  render() {
    return (
      <div>
        <NavBar>
          <span>aaa</span>
          <span>bbb</span>
          <span>ccc</span>
        </NavBar>

        <NavBar2
          left={<span>aaa</span>}
          center={<span>bbb</span>}
          right={<span>ccc</span>}>
        </NavBar2>

        
      </div>
    );
  }
}

export default App;